projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c162734
)
(command-line): [windows-nt]: Check for existence of
author
Andrew Innes
<andrewi@gnu.org>
Fri, 22 Jan 1999 15:12:59 +0000
(15:12 +0000)
committer
Andrew Innes
<andrewi@gnu.org>
Fri, 22 Jan 1999 15:12:59 +0000
(15:12 +0000)
.emacs file so as to notice .emacs.el or .emacs.elc and use them
in preference to _emacs.
lisp/startup.el
patch
|
blob
|
history
diff --git
a/lisp/startup.el
b/lisp/startup.el
index ccdc8804bd4f756b5d39a02653cde2fc13664ac5..33e267ffe9f7d013f479f162e55e3d0c39aa2b1d 100644
(file)
--- a/
lisp/startup.el
+++ b/
lisp/startup.el
@@
-689,7
+689,7
@@
or `CVS', and any subdirectory that contains a file named `.nosearch'."
((eq system-type 'ms-dos)
(concat "~" init-file-user "/_emacs"))
((eq system-type 'windows-nt)
- (if (
file-exists-p "~/.emacs")
+ (if (
directory-files "~" nil "^\.emacs\\(\.elc?\\)?$")
"~/.emacs"
"~/_emacs"))
((eq system-type 'vax-vms)